home *** CD-ROM | disk | FTP | other *** search
- global gTNStartChannel, glCurrentListData, gCurrentList, gListObject
-
- on mouseUp me
- if gCurrentList = EMPTY then
- exit
- end if
- if sprite(me.spriteNum).blend <> 100 then
- exit
- end if
- if not (value(gListObject).pSelectedImageSpriteNum = 0) then
- selectionPosition = value(gListObject).pSelectedImageSpriteNum - gTNStartChannel + (6 * (value(gListObject).pImageScroll - 1))
- addAt(value(gListObject).plFoundImages, selectionPosition + 1, getAt(value(gListObject).plFoundImages, selectionPosition))
- tempList = []
- repeat with a = 1 to selectionPosition
- append(tempList, getAt(glCurrentListData, a))
- end repeat
- append(tempList, getAt(glCurrentListData, selectionPosition))
- repeat with c = selectionPosition + 1 to glCurrentListData.count
- append(tempList, getAt(glCurrentListData, c))
- end repeat
- glCurrentListData = duplicate(tempList)
- DisplayThumbNails()
- UpdateImageScroller()
- UpdatePersonalFileData()
- WritePersonalFileNoDialog()
- else
- alert("Select an image first.")
- end if
- end
-